<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
<title>我是货源商-完善信息</title>
<link rel="stylesheet" th:attr="href=@{/layui/2.3.0/css/layui.css?t=1527693307626}" media="all">
<style>
#bizlicense,#repFront,#repBack{
width:250px;
height:200px;
}
.layui-form-label{
width:120px;
}
.layui-input-block{
margin-left:150px;
}
</style>
 </head>
<body>
<ul class="layui-nav">
 <li class="layui-nav-item"><a href=""><img th:src="@{/images/logo.jpeg}" style="width:100px;height:40px;" ></a></li>
</ul>
<div class="layui-container">
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  <legend>填写企业信息</legend>
</fieldset>
<form class="layui-form" th:action="@{/reg/supplier/complete}" th:attr="prev=@{/reg/supplier/backToPage2},next=@{/reg/supplier/complete}" method="post" id="applyForm">
  <div class="layui-form-item">
    <label class="layui-form-label">企业名称</label>
    <div class="layui-input-block" >
      <input type="text" style="with:400px;"name="orgName" lay-verify="title" autocomplete="off"  class="layui-input" th:value="${orgName}">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">社会统一信用代码</label>
    <div class="layui-input-block">
      <input type="text" name="creditCode" lay-verify="required" th:value="${creditCode}" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">法人姓名</label>
      <div class="layui-input-inline">
        <input type="text" name="repName" lay-verify="required" th:value="${repName}" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">法人身份证号</label>
      <div class="layui-input-inline" style="width:300px;">
        <input type="text" name="repIdNo" th:value="${repIdNo}" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
	    <label class="layui-form-label">收款账号开户行</label>
	    <div class="layui-input-block">
	      <input type="text" name="acctBank" th:value="${acctBank}" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
	    </div>
 </div>
   <div class="layui-form-item">
	    <label class="layui-form-label">收款账号</label>
	    <div class="layui-input-block">
	      <input type="text" name="acctNo" th:value="${acctNo}" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
	    </div>
 </div>
  <div class="layui-form-item">
	    <label class="layui-form-label">注册地址</label>
	    <div class="layui-input-block">
	      <input type="text" name="regAddr" th:value="${regAddr}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
	    </div>
 </div>
 <div class="layui-form-item">
	    <label class="layui-form-label">通讯地址</label>
	    <div class="layui-input-block">
	      <input type="text" name="location" lay-verify="required" th:value="${location}" placeholder="请输入" autocomplete="off" class="layui-input">
	    </div>
 </div>
 <div class="layui-form-item">
	 <div class="layui-inline">
      <label class="layui-form-label">联系人姓名</label>
      <div class="layui-input-inline">
        <input type="text" name="contactName" th:value="${contactName}"  lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">联系电话</label>
      <div class="layui-input-inline" style="width:300px;">
        <input type="text" name="contactMobile" th:value="${contactMobile}"  lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
 </div>
 <div class="layui-form-item">
	    <label class="layui-form-label">联系邮箱</label>
	    <div class="layui-input-block">
	      <input type="text" name="email" th:value="${email}"  lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
	    </div>
 </div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <div class="layui-input-inline" >
		   <button style="background:#009688" type="button" id="prevBtn" class="layui-btn layui-btn-lg layui-btn-warm layui-btn-fluid">上一步</button>
	 　</div>
	 <div class="layui-input-inline" >
		   <button style="background:#009688" type="button" id="nextBtn" class="layui-btn layui-btn-lg layui-btn-warm layui-btn-fluid">下一步</button>
	 　</div>
    </div>
  </div>
 </form>
</div>


<script th:attr="src=@{/layui/2.3.0/layui.all.js}" charset="utf-8"></script>
<script>
layui.config({
    base: './../layui/2.3.0' //静态资源所在路径
  }).extend({
    index: '/lib/index' //主入口模块
  }).use([], function(){
    var $ = layui.jquery,layer = layui.layer,
   prevBtn=$("#prevBtn"),nextBtn=$("#nextBtn");
    prevBtn.click(function(){
    	$("#applyForm").attr("action",$("#applyForm").attr("prev"));
    	$("#applyForm").submit();
  	});
    nextBtn.click(function(){
    	$("#applyForm").attr("action",$("#applyForm").attr("next"));
    	$("#applyForm").submit();
    });
  });
</script>
</body>
</html>